package org.mytools.dao.gener.meta;

/**
 * 数据库列对象
 * 
 * @author Jacky.L
 * 
 */
public class ColumnData {

	private String sqlName;

	private String sqlTypeName;

	private int columnType;

	private String javaTypeName;

	private String javaPropertyName;

	private boolean pk;

	private boolean autoIncrement;

	private boolean fk;

	private ForeginKeys foreginKeys;

	public boolean isFk() {
		return fk;
	}

	public void setFk(boolean fk) {
		this.fk = fk;
	}

	public ForeginKeys getForeginKeys() {
		return foreginKeys;
	}

	public void setForeginKeys(ForeginKeys foreginKeys) {
		this.foreginKeys = foreginKeys;
	}

	public boolean isPk() {
		return pk;
	}

	public void setPk(boolean pk) {
		this.pk = pk;
	}

	public boolean isAutoIncrement() {
		return autoIncrement;
	}

	public void setAutoIncrement(boolean autoIncrement) {
		this.autoIncrement = autoIncrement;
	}

	public String getSqlName() {
		return sqlName;
	}

	public void setSqlName(String sqlName) {
		this.sqlName = sqlName;
	}

	public String getSqlTypeName() {
		return sqlTypeName;
	}

	public void setSqlTypeName(String sqlTypeName) {
		this.sqlTypeName = sqlTypeName;
	}

	public int getColumnType() {
		return columnType;
	}

	public void setColumnType(int columnType) {
		this.columnType = columnType;
	}

	public String getJavaTypeName() {
		return javaTypeName;
	}

	public void setJavaTypeName(String javaTypeName) {
		this.javaTypeName = javaTypeName;
	}

	public String getJavaPropertyName() {
		return javaPropertyName;
	}

	public void setJavaPropertyName(String javaPropertyName) {
		this.javaPropertyName = javaPropertyName;
	}

}
